// /zhaokao-info/page

import { post, get } from '@/common/http/request';
import request from "@/common/http/axios"


export const getMaterialInfo = (params) => {
  // return post('/zhaokao-info/page', params);
  return request({
    url: '/material/page',
    method: 'post',
    data: params
  })

};

// /zhaokao-info/delete/{id}
export const deleteMaterialInfo = (id) => {
  // return post(`/zhaokao-info/delete/${id}`);
  return request({
    url:`/material/delete/${id}`,
    method: 'post',

  })
}

// /zhaokao-info/create
export const createMaterialInfo = (params) => {
  return request({
    url: '/material/create',
    method: 'post',
    data: params
  })
}
